<template>
    <div id="app">
        <keep-alive>
            <router-view v-if="$route.meta.keepAlive"/>
        </keep-alive>
        <router-view v-if="!$route.meta.keepAlive"></router-view>
    </div>
</template>
<style lang="stylus">
    @import '~@/assets/styles/css/variable.styl'
    .active {
        background: #fff;
        color: $themeColor !important;
    }
    #header-item span:hover, #header-item i:hover, .logo:hover, .avatar:hover {
        color: $themeColor;
        cursor: pointer;
    }
</style>
